//
//  ContentView.swift
//  TanTan_Kotlin
//
//  Created by EDY on 5/22/25.
//

import SwiftUI

struct ContentView: View {
    
    var body: some View {
        TabView {
            HomeView()
                .tabItem(){
                    Label("首页",systemImage: "house")
                }
            SearchView()
                .tabItem(){
                    Label("搜索",systemImage: "magnifyingglass")
                }.badge(3)
            SettingView()
                .tabItem(){
                    Label("搜索",systemImage: "gear")
                }
        }
        
    }
}



#Preview {
    ContentView()
}
